import axios from 'axios'
export const comments=async()=>{
    try{
        const response=await axios.get('http://localhost:3000/store/comment.json')
        return response.data
    }catch (error) {
        console.error('Error fetching goods data:', error);
        return null;
      }
}